package rinpu.springtest.pojo.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

/**
 * @Author Rin_pu
 * @Date 2025/9/24 20:46
 * @Description LoginDto
 */
@Data
public class LoginDto {

    @NotBlank(message = "用户名不能为空")
    public String username;
    @NotBlank(message = "密码不能为空")
    public String password;
}
